Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow locking users #599

Merged
merged 5 commits into from
Mar 7, 2025
Merged

allow locking users #599

merged 5 commits into from
Mar 7, 2025

Conversation

ssundahlTTD
Copy link
Contributor

@ssundahlTTD ssundahlTTD commented Mar 4, 2025

  • migration added for locked row on user table. Run npm run knex:migrate:latest
  • disallow access to locked users
  • allow superusers to lock user from the user management page
  • do not return locked users in queries outside of the user management page.

Capture

locked.user.mp4

@ashleysmithTTD
Copy link
Contributor

Testing out the functionality, could you add to the instructions 'search user by email, first name or last name' since search of job type or accepted terms doesnt work

@ashleysmithTTD
Copy link
Contributor

ashleysmithTTD commented Mar 7, 2025

Would there be any reason to add delete user functionality in this UI also? Or just lock?

@ssundahlTTD ssundahlTTD merged commit 744c8ba into main Mar 7, 2025
3 checks passed
@ssundahlTTD ssundahlTTD deleted the sas-UID2-5023-lock-users branch March 7, 2025 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants